package com.ics.top.batch.management.domain;


import com.ics.top.domain.BaseObject;
import com.ics.top.service.dto.SysMemberDTO;

import java.io.Serializable;
import java.util.Date;
import java.util.Objects;

/**
 * Created by Administrator on 2018/4/2.
 */
public class BatchUserManagementDTO extends BaseObject implements Serializable {
    private Long id;

    private String buyerNick;

    private String status;

    private Long grade;

    private Long tradeCount;

    private String tradeAmount;

    private Long closeTradeCount;

    private String closeTradeAmount;

    private Long itemNum;

    private String groupIds;

    private String province;

    private String city;

    private String avgPrice;

    private Long relationSource;

    private Date lastTradeTime;

    private Long itemCloseCount;

    private Long bizOrderId;

    private String gradeName;
    private String storesName;
    private String mobile;
    private String locale;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getBuyerNick() {
        return buyerNick;
    }

    public void setBuyerNick(String buyerNick) {
        this.buyerNick = buyerNick;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Long getGrade() {
        return grade;
    }

    public void setGrade(Long grade) {
        this.grade = grade;
    }

    public Long getTradeCount() {
        return tradeCount;
    }

    public void setTradeCount(Long tradeCount) {
        this.tradeCount = tradeCount;
    }

    public String getTradeAmount() {
        return tradeAmount;
    }

    public void setTradeAmount(String tradeAmount) {
        this.tradeAmount = tradeAmount;
    }

    public Long getCloseTradeCount() {
        return closeTradeCount;
    }

    public void setCloseTradeCount(Long closeTradeCount) {
        this.closeTradeCount = closeTradeCount;
    }

    public String getCloseTradeAmount() {
        return closeTradeAmount;
    }

    public void setCloseTradeAmount(String closeTradeAmount) {
        this.closeTradeAmount = closeTradeAmount;
    }

    public Long getItemNum() {
        return itemNum;
    }

    public void setItemNum(Long itemNum) {
        this.itemNum = itemNum;
    }

    public String getGroupIds() {
        return groupIds;
    }

    public void setGroupIds(String groupIds) {
        this.groupIds = groupIds;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getAvgPrice() {
        return avgPrice;
    }

    public void setAvgPrice(String avgPrice) {
        this.avgPrice = avgPrice;
    }

    public Long getRelationSource() {
        return relationSource;
    }

    public void setRelationSource(Long relationSource) {
        this.relationSource = relationSource;
    }

    public Date getLastTradeTime() {
        return lastTradeTime;
    }

    public void setLastTradeTime(Date lastTradeTime) {
        this.lastTradeTime = lastTradeTime;
    }

    public Long getItemCloseCount() {
        return itemCloseCount;
    }

    public void setItemCloseCount(Long itemCloseCount) {
        this.itemCloseCount = itemCloseCount;
    }

    public Long getBizOrderId() {
        return bizOrderId;
    }

    public void setBizOrderId(Long bizOrderId) {
        this.bizOrderId = bizOrderId;
    }

    public String getGradeName() {
        return gradeName;
    }

    public void setGradeName(String gradeName) {
        this.gradeName = gradeName;
    }

    public String getStoresName() {
        return storesName;
    }

    public void setStoresName(String storesName) {
        this.storesName = storesName;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getLocale() {
        return locale;
    }

    public void setLocale(String locale) {
        this.locale = locale;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }

        SysMemberDTO sysMemberDTO = (SysMemberDTO) o;
        if(sysMemberDTO.getId() == null || getId() == null) {
            return false;
        }
        return Objects.equals(getId(), sysMemberDTO.getId());
    }

    @Override
    public int hashCode() {
        return Objects.hashCode(getId());
    }

    @Override
    public String toString() {
        return "BatchUserManagementDTO{" +
            "id=" + id +
            ", buyerNick='" + buyerNick + '\'' +
            ", status='" + status + '\'' +
            ", grade=" + grade +
            ", tradeCount=" + tradeCount +
            ", tradeAmount='" + tradeAmount + '\'' +
            ", closeTradeCount=" + closeTradeCount +
            ", closeTradeAmount='" + closeTradeAmount + '\'' +
            ", itemNum=" + itemNum +
            ", groupIds='" + groupIds + '\'' +
            ", province='" + province + '\'' +
            ", city='" + city + '\'' +
            ", avgPrice='" + avgPrice + '\'' +
            ", relationSource=" + relationSource +
            ", lastTradeTime=" + lastTradeTime +
            ", itemCloseCount=" + itemCloseCount +
            ", bizOrderId=" + bizOrderId +
            ", gradeName='" + gradeName + '\'' +
            ", storesName='" + storesName + '\'' +
            ", mobile='" + mobile + '\'' +
            ", locale='" + locale + '\'' +
            '}';
    }
}
